package com.wgts.wgts.localbean;

import android.os.Parcel;
import android.os.Parcelable;

public class LocalThreeClass implements Parcelable {
    public String typeName;
    public String typeId;
    public String typeImage;

    protected LocalThreeClass(Parcel in) {
        typeName = in.readString();
        typeId = in.readString();
        typeImage = in.readString();
    }

    public static final Creator<LocalThreeClass> CREATOR = new Creator<LocalThreeClass>() {
        @Override
        public LocalThreeClass createFromParcel(Parcel in) {
            return new LocalThreeClass(in);
        }

        @Override
        public LocalThreeClass[] newArray(int size) {
            return new LocalThreeClass[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(typeName);
        dest.writeString(typeId);
        dest.writeString(typeImage);
    }
}
